@extends('layout.list')

@section('title', '订单详情页')

@section('content')
<div id="body_wrap">
    <div class="mu_wrap wrap clearfix" style="margin-left:30px;width:1200px;height:800px;">
  		<div id="navListWrap">
  			<div class="doota_nav mu_nav_wrap"> 
  				<ul class="doota_ul"> 
  					<li><a href="" target="_self"> 我的主页 </a></li>
  					<li><a href="{{url('/list/message')}}" target="_self"> 我的信息 </a></li>
  					<li><a href="{{url('/list/index')}}" target="_self"> 我的订单 </a></li>
  					<li><a href="" target="_self"> 我的收藏 </a></li>
  				</ul>
  			</div>
  		</div>
  		@if (session('error'))
				<div class="alert alert-danger">	
					{{ session('error') }}
				</div>
		@endif
		@if (session('success'))
				<div class="alert alert-danger">	
					{{ session('success') }}
				</div>
		@endif
		<div class="mu_content_wrap">
			<div class="order-title">
				<table width="1015px" height="40px" >
			    	<tr style="text-align:center;">
						<td width="130px">商品id</td>
						<td width="100px">单价(元)</td>
						<td width="100px">商品名</td>
						<td width="100px">图片</td>
						<td width="145px">操作</td>
					</tr>
					@foreach($bian as $k=>$v)
					<tr style="text-align:center;">
						<td width="130px">{{$v->id}}</td>
						<td width="100px">{{$v->price}}</td>
						<td width="100px">{{$v->proname}}</td>
						<td width="100px"><img src="{{$v->img}}" width="130px"></td>
						<td width="145px"><a href="{{url('/del/del')}}/{{$v->id}}">取消收藏</a></td>
					</tr>
					@endforeach
				</table>
			</div>
		</div>
	</div>
</div>
@endsection